<?php
namespace app\admin\model;

class Agent extends Base
{
    protected $name = 'franchiser';
    //代理商查询列表
    public function getAll()
    {
        $data=$this
            ->field('id,code,name,user_id,linkman,mobile,updated_at,address,device,region_id,franchiser_group_id,franchiser_level_id,registered_at,created_at,device_id,password,admin_group_id')
            // ->where("deleted_at","exp","is null")
            // ->select()
        ;
        //var_dump($data);exit;
        return $data;
    }

}